Repository navigation
ci: keep the React fixture on React 18; refuse duplicate CHANGELOG entries before tagging - #77
Merged
Merged
Conversation
react and react-dom serve only the e2e fixture react-list.html, a React 18 app loaded from React 18's UMD builds. React 19 ships no UMD builds, so Dependabot's react-dom 19 bump (#71) leaves the page without React and the corpus tests fail. Dependabot now skips their major versions and still proposes 18.x patches. React 19 coverage needs its own fixture package: npm can't hold a second React next to the first in the root package.json, because react-dom 19's react peer has to resolve to the root react (SCR-464). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Ayla Croft <dev@scriptkittyos.com>
A pull request merged with a merge commit reaches release-please twice: as its own commit and as the merge commit, whose body is the PR's title. When the two read the same, the release section lists the entry twice with different hashes. The 1.0.2 release PR (#46) has two such pairs. release-notes.mjs --check, which tag-release.sh runs before tagging, now names each repeated entry, so the notes are deduplicated in the release PR along with the plain-language summary. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Ayla Croft <dev@scriptkittyos.com>
minitru
previously approved these changes
Dec 5, 2026
minitru
left a comment
Collaborator
There was a problem hiding this comment.
Read the diff at da7ee37. Dependabot ignores major bumps of react and react-dom (the fixture is React 18 on purpose), and the release check refuses a changelog section that lists an entry twice, with a test for the refusal and for the passing case. 12 checks green. Reviewed with Claude Code.
minitru
dismissed
their stale review
December 5, 2026 14:57
Dismissed: this approval was submitted by an AI assistant from this account. The review will be done by a person.
minitru
approved these changes
Dec 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two small tooling fixes found while working through the open PRs.
1. Dependabot keeps
reactandreact-domon 18.x (.github/dependabot.yml)These two packages serve only the e2e fixture
test/fixtures/pages/react-list.html, a React 18 app loaded from React 18's UMD builds. React 19 ships no UMD builds, so #71 (react-dom 19.3.1) leaves the page without React:React is not defined, and the corpus tests fail.Dependabot now skips their major versions and still proposes 18.x patches. React 19 coverage needs a fixture package of its own. npm can't hold a second React next to the first in the root
package.json, because react-dom 19'sreactpeer has to resolve to the rootreact(ERESOLVE even with a scoped override). That design is recorded in SCR-464.After this merges, #71 can be closed as superseded.
2.
release-notes.mjs --checkrefuses an entry listed twiceA PR merged with a merge commit reaches release-please twice: as its own commit, and as the merge commit, whose body is the PR's title. When the two read the same, the entry appears twice with different hashes. The 1.0.2 release PR (#46) has two such pairs: the "null" fix (#45) and the plug CVE fix (#64).
tag-release.shruns this check before tagging, so now the duplicates get removed in the release PR along with the plain-language summary. On #46's current CHANGELOG the check reports:Checked:
node --test test/unit/release-notes.test.mjs(10/10, one new test), ESLint, DCO, forbidden files.🤖 Generated with Claude Code